@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>销售配套管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="customerCompanyName" name="客户名称" />
                            </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="Sale.search()"/>
                                <#button name="重置" icon="fa-search" clickFun="Sale.resetSearch()"/>

                            </div>
                        </div>
                        <div class="hidden-xs" id="SaleTableToolbar" role="group">
                            @if(shiro.hasPermission("/sale/add")){
                                <#button name="添加" icon="fa-plus" clickFun="Sale.openAddSale()"/>
                            @}
                            @if(shiro.hasPermission("/sale/update")){
                                <#button name="修改" icon="fa-edit" clickFun="Sale.openSaleDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/sale/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="Sale.delete()" space="true"/>
                            @}

                            <#button name="下载示例模板" icon="fa-download" clickFun="Sale.exportXlsByT()" space="true"/>

                            @if(shiro.hasPermission("/sale/importExcel")){
                                <#uploadBtn name="上传" icon="fa-upload" id="uploadBtnId"/>
                            @}
                        </div>
                        <#table id="SaleTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/customer/sale/sale.js"></script>
@}
